package cn.itcast.bos.service.take_delivery;

import cn.itcast.bos.domain.take_delivery.Order;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

public interface OrderService {
    //用来接收bos_fore发送的添加订单的方法

    @Path("saveOrder")
    @POST
    @Consumes({"application/xml","application/json"})
    void saveOrder(Order order);

    Order findbyNum(String orderNum);
}
